package com.frank.stock4j.tusharepro.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.time.LocalDate;
import com.frank.stock4j.tusharepro.bean.FundDivBean;

/**
* 描述：获取公募基金分红数据
* @author: codesmith
**/
@Data
@TableName("fund_div")
public class FundDivEntity implements FundDivBean {
    
    /*
    * TS代码
    */
    @TableId
    @TableField("`ts_code`") protected String tsCode;
    /*
    * 公告日期
    */
    @TableId
    @TableField("`ann_date`") protected LocalDate annDate;

    @TableField("`imp_anndate`") protected String impAnndate;

    @TableField("`base_date`") protected LocalDate baseDate;

    @TableField("`div_proc`") protected String divProc;

    @TableField("`record_date`") protected LocalDate recordDate;

    @TableField("`ex_date`") protected LocalDate exDate;

    @TableField("`pay_date`") protected LocalDate payDate;

    @TableField("`earpay_date`") protected LocalDate earpayDate;

    @TableField("`net_ex_date`") protected LocalDate netExDate;

    @TableField("`div_cash`") protected Double divCash;

    @TableField("`base_unit`") protected Double baseUnit;

    @TableField("`ear_distr`") protected Double earDistr;

    @TableField("`ear_amount`") protected Double earAmount;

    @TableField("`account_date`") protected LocalDate accountDate;

    @TableField("`base_year`") protected String baseYear;
}